x86/HVM: constify hvm_virtual_to_linear_addr()'s segment register parameter
authorJan Beulich <jbeulich@suse.com>
Thu, 9 Jun 2016 13:50:55 +0000 (15:50 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 9 Jun 2016 13:50:55 +0000 (15:50 +0200)
commitb46a76093855858feba5535dfca06f750032c42d
treec1627e046b69d714fd9c6f7c07254f40f7c91f59
parent6a611ac26e32df3e8139551c52cd2b7ad92839d1
x86/HVM: constify hvm_virtual_to_linear_addr()'s segment register parameter

... to clarify to callers that they don't need to fear the pointed to
data changing (which will be made use of subsequently).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c
xen/include/asm-x86/hvm/hvm.h